/**  
 * All rights Reserved, Designed By www.woniuxy.com
 * @Title:  Account.java   
 * @Package com.woniu.domain   
 * @Description:    Description  
 * @author: 蜗牛学院  
 * @date:   2019年8月1日 上午9:38:48
 * @user:   Administrator  
 * @version V1.0 
 * @Copyright: 2019 www.woniuxy.com Inc. All rights reserved. 
 * 注意：本内容仅限于成都蜗牛创想科技有限公司，禁止外泄以及用于其他的商业目
 */ 
package com.woniu.domain;

/**
 * @author Administrator
 *
 */
public class Goods {
	private Integer gId;
	private Integer id;
	private String goodImgPath;
	private double price;
	private String addImgPath;
	private String introduce;
	private String gName;
	private int instock;
	private String brand;
	
	/**
	 * @return the gName
	 */
	public String getgName() {
		return gName;
	}
	/**
	 * @param gName the gName to set
	 */
	public void setgName(String gName) {
		this.gName = gName;
	}
	/**
	 * @return the instock
	 */
	public int getInstock() {
		return instock;
	}
	/**
	 * @param instock the instock to set
	 */
	public void setInstock(int instock) {
		this.instock = instock;
	}
	/**
	 * @return the brand
	 */
	public String getBrand() {
		return brand;
	}
	/**
	 * @param brand the brand to set
	 */
	public void setBrand(String brand) {
		this.brand = brand;
	}
	/**
	 * @return the gId
	 */
	public Integer getgId() {
		return gId;
	}
	/**
	 * @param gId the gId to set
	 */
	public void setgId(Integer gId) {
		this.gId = gId;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the goodImgPath
	 */
	public String getGoodImgPath() {
		return goodImgPath;
	}
	/**
	 * @param goodImgPath the goodImgPath to set
	 */
	public void setGoodImgPath(String goodImgPath) {
		this.goodImgPath = goodImgPath;
	}
	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}
	/**
	 * @return the addImgPath
	 */
	public String getAddImgPath() {
		return addImgPath;
	}
	/**
	 * @param addImgPath the addImgPath to set
	 */
	public void setAddImgPath(String addImgPath) {
		this.addImgPath = addImgPath;
	}
	/**
	 * @return the introduce
	 */
	public String getIntroduce() {
		return introduce;
	}
	/**
	 * @param introduce the introduce to set
	 */
	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	@Override
	public String toString() {
		return "Goods [gId=" + gId + ", id=" + id + ", goodImgPath=" + goodImgPath + ", price=" + price
				+ ", addImgPath=" + addImgPath + ", introduce=" + introduce + ", gName=" + gName + ", instock="
				+ instock + ", brand=" + brand + "]";
	}
	
	public Goods(Integer gId, Integer id, String goodImgPath, double price, String addImgPath, String introduce,
			String gName, int instock, String brand) {
		super();
		this.gId = gId;
		this.id = id;
		this.goodImgPath = goodImgPath;
		this.price = price;
		this.addImgPath = addImgPath;
		this.introduce = introduce;
		this.gName = gName;
		this.instock = instock;
		this.brand = brand;
	}
	public Goods() {
		super();
	}
	
}
